package shop.entity;

import java.util.Date;

import lombok.Data;

@Data
public class User {

		private int id;
		private String account;
		private String nickName;
		private String password;
		private int gender;
		private String idCardNo;
		private String email;
		private String phone;
		private int type;
		private String openId;
		private String face;
		private Date loginTime;
		private String level;
		private double consume;
		private double balance;
		private Date registTime;
		public User(int id, String account, String nickName, String password, int gender, String idCardNo, String email,
				String phone, int type, String openId, String face, Date loginTime, String level, double consume,
				double balance, Date registTime) {
			super();
			this.id = id;
			this.account = account;
			this.nickName = nickName;
			this.password = password;
			this.gender = gender;
			this.idCardNo = idCardNo;
			this.email = email;
			this.phone = phone;
			this.type = type;
			this.openId = openId;
			this.face = face;
			this.loginTime = loginTime;
			this.level = level;
			this.consume = consume;
			this.balance = balance;
			this.registTime = registTime;
		}

		public User() {
			super();
		}
		
		
}
